<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        .box {
            width: 356px;
            height: 339px;
            margin: 100px auto;
            /* background-color: gold; */
        }

        .box h1 {
            width: 49px;
            height: 49px;
            /* background-color: #ff4c00;
            background-image: url(./images/mi-logo.png); */
            background: #ff4c00 url(./images/mi-logo.png);
            margin: 0 auto;
        }

        .box h2 {
            height: 77px;
            margin-top: 35px;
            text-align: center;
            font-size: 30px;
            font-weight: 400;
        }

        .box input {
            /* 采用新的盒子模型 */
            box-sizing: border-box;
            /* width和height此时代表盒子在网页上占据的大小 */
            width: 356px;
            height: 50px;
            padding-left: 15px;
            margin-bottom: 14px;
            border: 1px solid #ccc;
            outline: none;
        }
        .box button{
            width: 356px;
            height: 50px;
            background-color: #ff4c00;
            color: #fff;
            border: none;
        }
    </style>
</head>

<body>
    <div class="box">
        <h1></h1>
        <h2>小米账号登录</h2>
        <input type="text" placeholder="邮箱/手机/小手ID">
        <input type="text" placeholder="邮箱/手机/小手ID">
        <button>登录</button>
    </div>
</body>

</html>